<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <title>SRC 2.0</title>

		<?php

                echo $html->stylesheet("default_main.css");
                echo $html->stylesheet("/themes/flick/jquery.ui.all.css");
                echo $html->script("jquery.js");
                echo $html->script("meio-mask.js");
                echo $html->script("ui/jquery-ui-1.8.5.custom.js");

                ?>
        <script>
           $(function() {
		$("button,.botao, input:submit, input:button, button", "html").button();
                $("input:text").setMask();

	});

        </script>
        <?php
             if (isset($mensagens)){
        ?>
        <script>
            alert("<?php echo $mensagens; ?>");
        </script>
        <?php
            }
        ?>

    </head>

    <body>
        <header>

        </header>
        <div class="borda ui-corner-all ui-widget-header" style="width: 250px !important; margin: auto; margin-top: 30px;">
            <center>
                <?php echo $this->contentForLayout; ?>
                <div>Ooops, houve um imprevisto no sistema<br>Clique no botão abaixo</div>
                <button onclick="javascript:history.go(-1);">Voltar</button>
            </center>

        </div>
            <br>
            <br>
            <br>
            <br>
            <br>
        <footer>
            <p>Copyright © 2010 by "Assistec Informática"  ·  Todos os direitos reservados<br>E-Mail: desenvolvimento@assistecinformatica.com.br</p>
        </footer>


    </body>
</html>